﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace 界面
{
    public partial class Form2 : Form
    {
        public Form2()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            SaveFileDialog sf = new SaveFileDialog();
            sf.Title = "亲选择你要保存的路径";
            sf.InitialDirectory = @"C:\Users\SpringRain\Desktop";
            sf.Filter = "文本文件|*.txt|所有文件|*.*";
            sf.ShowDialog();
            MessageBox.Show("保存成功");
        }
    }
}
